package byName;

public class Cat extends Animal{
	Cat(String name){
		swimBehavior = new SwimNoWay();
		eatBehavior  = new EatOmnivorous();
		moveBehavior = new MoveRun();
		this.name = name;
	}

	public void display(){
		System.out.println("I cat and my name " + name);
	}
}
